<%@ include file="IncludeHeader.jsp" %>
<%@ page import="pandabay2.domain.User" %>

<% User user = (User) session.getAttribute("currentSessionUser");
		if(user == null) {
			response.sendRedirect("LoginPage.jsp");
		} %>
		
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>My Profile</title>
</head>
<body>
<div class="filter" align="left"><a href="LoginSuccess.jsp">Mein Konto</a> | <a href="ProfilBearbeiten.jsp">Profil bearbeiten</a></div>
<table>
	<tr>
		<td style="width:100px;">Vorname:</td><td><b><%  out.print(user.getFirstName()); %></b></td>
	</tr>
	<tr>
		<td>Nachname:</td><td><b><%  out.print(user.getLastName()); %></b></td>
	</tr>
	<tr>
		<td>E-Mail:</td><td><b><%  out.print(user.getEmail()); %></b></td>
	</tr>
</table>
<br/>
</body>
</html>